/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.infoq.bambook

/**
 *
 * @author zhangkf
 */
class SnbExamples {
    static def BOOK_SNBF = '''
      <book-snbf version="1.0">
        <head>
          <name>测试Bambook SDK</name>
          <author>庄表伟</author>
          <language>ZH-CN</language>
          <rights/>
          <publisher/>
          <generator/>
          <created/>
          <abstract/>
          <cover/>
        </head>
      </book-snbf>
    '''

    static def TOC_SNBF = '''
      <toc-snbf>
        <head>
          <chapters>1</chapters>
        </head>
        <body>
          <chapter src="c1.snbc"><![CDATA[第一章]]></chapter>
        </body>
      </toc-snbf>
    '''
    static def C1_SNBC = '''
      <snbc>
        <head>
          <title><![CDATA[第一章]]></title>
        </head>
        <body>
          <text><![CDATA[中文小说
            测试文字
            看看效果]]></text>
        </body>
      </snbc>
    '''
    
}

